package org.csu.webjpetstoreback.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Repository;

import java.util.Date;

@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
@Repository
@TableName(value = "orderstatus")
public class Orderstatus {
    @TableId(value = "orderid",type = IdType.AUTO)
    public int orderId;

    public int linenum;

    public Date timestrap;

    public String status;
}
